package com.class04.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2023/12/13 15:03
 */
@RestController
@RequestMapping("hello")
public class HelloController {
    @GetMapping("test1")
    public String test1(){
        return "hello1";
    }

    @GetMapping("test2")
    public String test2(){
        return "hello2";
    }

    @GetMapping("test3")
    public String test3(){
        return "hello3";
    }


}
